package com.IntelligentCommunity.community.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.IntelligentCommunity.common.core.annotation.Excel;
import com.IntelligentCommunity.common.core.web.domain.BaseEntity;

/**
 * 实有安防设施对象 real_security_facilities
 *
 * @author IntelligentCommunity
 * @date 2024-07-21
 */
public class RealSecurityFacilities extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，唯一标识 */
    private Long id;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private Long facilityType;

    @Excel(name = "设备名称")
    private String name;

    /** 小区 id */
    @Excel(name = "小区 id")
    private Long districtId;

    /** 安装日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date installedDate;

    /** 维护日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维护日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maintenanceDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    private String communityName;
    private String typeName;
    private String min;
    private String max;
    private String min1;
    private String max1;
    private String min2;
    private String max2;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMin() {
        return min;
    }

    public void setMin(String min) {
        this.min = min;
    }

    public String getMax() {
        return max;
    }

    public void setMax(String max) {
        this.max = max;
    }

    public String getMin1() {
        return min1;
    }

    public void setMin1(String min1) {
        this.min1 = min1;
    }

    public String getMax1() {
        return max1;
    }

    public void setMax1(String max1) {
        this.max1 = max1;
    }

    public String getMin2() {
        return min2;
    }

    public void setMin2(String min2) {
        this.min2 = min2;
    }

    public String getMax2() {
        return max2;
    }

    public void setMax2(String max2) {
        this.max2 = max2;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFacilityType(Long facilityType)
    {
        this.facilityType = facilityType;
    }

    public Long getFacilityType()
    {
        return facilityType;
    }
    public void setDistrictId(Long districtId)
    {
        this.districtId = districtId;
    }

    public Long getDistrictId()
    {
        return districtId;
    }
    public void setInstalledDate(Date installedDate)
    {
        this.installedDate = installedDate;
    }

    public Date getInstalledDate()
    {
        return installedDate;
    }
    public void setMaintenanceDate(Date maintenanceDate)
    {
        this.maintenanceDate = maintenanceDate;
    }

    public Date getMaintenanceDate()
    {
        return maintenanceDate;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("facilityType", getFacilityType())
            .append("districtId", getDistrictId())
            .append("installedDate", getInstalledDate())
            .append("maintenanceDate", getMaintenanceDate())
            .append("createDate", getCreateDate())
            .toString();
    }
}
